﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace Moddb08_WCF
{
    [XmlRoot(ElementName = "row")]
    [XmlType(TypeName = "row")]
    public class Row
    {
        Columns _columns;
        int _id;


        public Row()
        {
        }

        public Row(int id)
        {
            _id = id;
        }
        [XmlAttribute(AttributeName="id")]
        public int Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
            }
        }

        public Columns Columns
        {
            get
            {
                return _columns;
            }

            set
            {
                _columns = value;
            }
        }
    }
}
